

package com.walk.zworld.ui.activity

import android.view.View.GONE
import androidx.fragment.app.Fragment
import com.walk.zworld.ui.fragment.video.YouVideoFragment
import com.base.lib.base.model.TabEntity
import com.base.lib.base.view.BaseMvvmPageActivity

/**
 * You首页主界面。
 */
class YouPageActivity : BaseMvvmPageActivity() {


    companion object {
        fun newsInstance() = YouPageActivity()
    }

    override val createTitles = ArrayList<TabEntity>().apply {
        add(TabEntity("广场"))
    }

    override val createFragments: Array<Fragment> = arrayOf(YouVideoFragment.newsInstance())

    override fun initView() {
        viewPager?.currentItem = 1
        mPageTopBar?.visibility = GONE
    }
    override fun initData() {
    }
}
